<?php
/**
 * @file
 * Returns the HTML for a single Drupal page.
 *
 * Complete documentation for this file is available online.
 * @see https://drupal.org/node/1728148
 */
?>

<nav id="navigation" class="<?php print $classes; ?>">
    <div id="nav-backdrop" class="nav-backdrop"></div>
    <div id="nav-menu" class="nav-menu">
        <div class="wrapper">
            <?php echo bck_render_('jtv-mobile-menu-1'); ?>
            <div class="social-links">
                <a href="#" class="social-links-facebook"></a>
                <a href="#" class="social-links-instagram"></a>
            </div>
            <?php echo bck_render_('jtv-mobile-menu-2'); ?>
            <div class="social-links">
                <a href="#" class="social-links-facebook"></a>
                <a href="#" class="social-links-instagram"></a>
            </div>
            <?php echo bck_render_('jtv-mobile-menu-3'); ?>
        </div>
    </div>
</nav>

<div id="page">
    <header class="header" id="header" role="banner">
        <div class="wrapper">
            <div class="menu-trigger"></div>
            <a id="logo-jtv" href="/jtv"><img src="/<?php echo path_to_theme(); ?>/images/logo-jtv.svg" alt="JTV"></a>
            <!-- <a id="logo-jessicatv" href="/jessica-tv"><img src="/<?php echo path_to_theme(); ?>/images/logo-jessicatv.svg" alt="Jessica TV"></a> -->
            <div class="search-trigger"></div>
            <div class="font-size-trigger"></div>
            <?php print render($page['header']); ?>
        </div>
    </header>

    <div id="main">
        <?php print $messages; ?>
            <?php echo bck_render_('Jessica_SC_JessicaChannel_Top_horizontal_banner'); ?>
        <?php echo bck_render_('jtv-nav'); ?>
        <?php if ($title): ?>
        <h1 class="page__title title element-invisible" id="page-title"><?php print $title; ?></h1>
        <?php endif; ?>
        <?php
            // Render the sidebars to see if there's anything in them.
            //$sidebar_first  = render($page['sidebar_first']);
            //$sidebar_second = render($page['sidebar_second']);
        ?>
        <div id="content" class="column region-content" role="main">
            <div class="wrapper">
                <?php print $breadcrumb; ?>
                <a id="main-content"></a>
                <?php print render($title_prefix); ?>
                <?php print render($title_suffix); ?>
                <?php print render($tabs); ?>
                <?php if ($action_links): ?>
                <ul class="action-links"><?php print render($action_links); ?></ul>
                <?php endif; ?>
                <?php print render($page['content']); ?>
                <?php print views_embed_view('jtv_mobile', 'block_3'); ?>
                    <?php echo bck_render_('Jessica_SC_JessicaChannel_Middle_horizontal_banner'); ?>
                <?php print views_embed_view('jtv_mobile', 'block_4'); ?>
            </div>
        </div>
    </div>
</div>

<?php print render($page['popup']); ?>
<?php print render($page['overlay']); ?>
<?php print render($page['hidden']); ?>
